package com.stephen.bp.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author qiuwenwei
 */
@Data
@TableName(value = "schedule")
public class Schedule {
    @TableId(type = IdType.AUTO)
    Long id;
    String user1;
    String user2;
    String roomId;
    String status = "待开始";
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    Date finishTime;
}
